package com.ruoyi.system.domain.request.relatimepositioning;

import com.ruoyi.common.core.domain.LatLng;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 描述
 * 作者 ZhangPing
 * 创建时间 2023/9/21 15:39
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RegionDeviceParam {

    @ApiModelProperty("圆心经纬度")
    private LatLng circlePoint;
    @ApiModelProperty("圆形半径(米)")
    private Integer radius;
    @ApiModelProperty("区域经纬度集合(矩形或多边形传)")
    private List<LatLng> points;
    @ApiModelProperty("区域类型(0:圆形,1:矩形,2:多边形)")
    @NotNull
    private Integer type;
    @ApiModelProperty("开始时间")
    @NotEmpty
    private String startTime;
    @ApiModelProperty("结束时间")
    @NotEmpty
    private String endTime;
    @ApiModelProperty("公司id")
    private Long deptId;
}
